using System.Collections.Generic;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using AceMobile.Models.Accessories;
using AceMobile.Models.Phones;
using AceMobile.Models.Tablets;

namespace AceMobile.Models
{
    public class MobileWebContext : DbContext
    {
        public MobileWebContext()
            : base("Name=AceMobileContext")
        {
        }


        public DbSet<OrderList> OrderLists { get; set; }        

        public DbSet<Accessory> Accessories { get; set; }        
        public DbSet<AccessoryProducer> AccessoryProducers { get; set; }


        public DbSet<Tablet> Tablets { get; set; }
        public DbSet<TabletOS> TabletOSs { get; set; }
        public DbSet<TabletProducer> TabletProducers { get; set; }

        public DbSet<Account> Accounts { get; set; }
        public DbSet<Roles> Roles { get; set; }
        public DbSet<Phone> Phones { get; set; }
        public DbSet<PhoneOS> PhoneOSs { get; set; }
        public DbSet<PhoneProducer> PhoneProducers { get; set; }

        public DbSet<Order> Orders { get; set; }
        
    }
}
